import itertools

all_list = [[1, 3, 4], [6, 7, 9], [8, 10, 5] ]

result = list(itertools.product(*all_list))
print(*result)